package xcmg.device.dao.mapper.warehouse;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import xcmg.device.dao.entity.warehouse.allot.RegionAllotPlanDO;
import xcmg.device.service.warehouse.allot.vo.RegionAllotPlanVO;
import yb.ecp.fast.infra.infra.PageCommonVO;
import yb.ecp.fast.infra.infra.SearchCommonVO;

import java.util.List;

/**
 * 区域调拨计划表 Mapper
 */
@Mapper
public interface RegionAllotPlanMapper {

    List<RegionAllotPlanDO> list(RegionAllotPlanVO condition);

    List<RegionAllotPlanDO> queryList(RegionAllotPlanVO condition);

    int insert(RegionAllotPlanDO model);

    int merge(RegionAllotPlanDO model);

    int updateByPrimaryKeySelective(RegionAllotPlanDO bean);

    int deleteByPrimaryKeySelective(String id);

    List<RegionAllotPlanDO> queryListByIds(@Param(value = "ids") List<String> ids);

    Integer findCountForExportAll(RegionAllotPlanVO condition);

    List<RegionAllotPlanDO> findByCrmOrder(String crmOrder);
}
